package com.ssdp.service;

import com.fasterxml.jackson.core.JsonProcessingException;
import com.ssdp.dto.Result;
import com.ssdp.entity.Shop;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * @author syo 2319615164@qq.com
 * @description 商铺服务接口
 * @date 2024/3/14
 * @Copyright syo
 */
public interface IShopService extends IService<Shop> {

    Result queryShopById(Long id) throws JsonProcessingException;

    Result updateShop(Shop shop);

    Result queryShopByType(Integer typeId, Integer current, Double x, Double y);
}
